import { baseUserFields } from '@shared/lib/helpers/fieldsValidation/userFields'
import { boolean, object } from 'yup'

export const RegisterSchema = object({
  ...baseUserFields,
  confirm: boolean().oneOf([true], undefined).required(),
}).required()
